import requests
from lxml import  etree
url="https://cd.lianjia.com/ershoufang/rs/"
respose =requests.get(url)
#print(respose.text)
data = etree.HTML(respose.text)
listinfo =data.xpath("//div[@class='info clear']")
print(listinfo)
for l in listinfo:
    print(l.xpath('./div[@class="title"]/a/text()'))